Next | Prev | Up | Top | Contents | Index

Listing Parts of DWARF Object Files With dwarfdump

The dwarfdump tool provides debugging information from selected parts of DWARF symbolic information in an ELF object file. For more information on DWARF, see files in the 4Dgifts directory.


dwarfdump Syntax

The syntax for dwarfdump is:

dwarfdump options filename

options

One or more of the options listed in Table 2-6.

filename

Specifies the name of the object file whose contents are to be dumped.

dwarfdump Options

Table 2-6 lists dwarfdump options. For more information, see the dwarfdump(1) reference page.

dwarfdump Options
OptionDumps
-aAll sections.
-bThe .debug_abbrev section.
-cThe .debug_loc section.
-dUses dense mode. Prints die information of the .debug_info section. Does not imply the -i option.
-eUses ellipsis mode. Uses the short names for DW_TAG_* and DW_ATTR_* in the output for the .debug_info section.
-fThe .debug_frame section.
-iThe .debug_info section.
-lThe .debug_line section.
-mThe .debug_macinfo section.
-oThe .rel.debug_* sections.
-pThe .debug_pubnames section.
-rThe .debug_aranges section.
-sThe .debug_string section.
-taThe .debug_static_funcs and .debug_static_vars sections (same as -tfv).
-tfThe .debug_static_funcs section.
-tvThe .debug_static_vars section.
-u fileSections to the named file.
-vPrints detailed information (verbose mode).
-wThe .debug_weaknames section.
-yThe .debug_types section.


Next | Prev | Up | Top | Contents | Index